import request from '@/utils/request'

// 查询数据同步实例列表
export function listInstance(query) {
  return request({
    url: '/data/instance/list',
    method: 'get',
    params: query
  })
}

// 查询数据同步实例详细
export function getInstance(instanceId) {
  return request({
    url: '/data/instance/' + instanceId,
    method: 'get'
  })
}
// 重复执行同步任务
export function reSyncInstance(instanceId) {
  return request({
    url: '/data/instance/reSync/' + instanceId,
    method: 'get'
  })
}


